package com.amigo.online.common.param.dto.sms;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * 获取短信验证码参数
 * @author amigo
 *
 */
public class SmsDto {
	@NotBlank
	@Length(min=0,max=20)
	private String mobilephone;
	@Length(min=0,max=10)
	private String countryCode;
	@Min(0)
	@Max(4)
	private Integer type;//1 注册，2登录，3修改密码 4绑定手机
	public String getMobilephone() {
		return mobilephone;
	}
	public void setMobilephone(String mobilephone) {
		this.mobilephone = mobilephone;
	}
		
	public String getCountryCode() {
		return countryCode;
	}
	public void setCountryCode(String countryCode) {
		this.countryCode = countryCode;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	
	
}
